function change_favorite_status(url, status_element) {
	$.ajaxSetup({cache: false});
	$.get(url, function(data) {
		if(data == 'ins') {
			$('#' + status_element).addClass('favor');
			$('#' + status_element).removeClass('not-favor');
		} else {
			$('#' + status_element).addClass('not-favor');
			$('#' + status_element).removeClass('favor');
		}
	});
}
